package org.xbl.xchain.sdk.module.cross.types;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.xbl.xchain.sdk.amino.AminoFieldSerialize;
import org.xbl.xchain.sdk.module.wasm.msg.MsgExecuteContract;
import org.xbl.xchain.sdk.types.Msg;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Callback {

    @AminoFieldSerialize(format = "time")
    private String Timestamp;
    private Boolean CallSucceed;
    private Boolean CallFailed;
    private MsgExecuteContract SucceedBack;
    private MsgExecuteContract FailedBack;
}
